﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TopControl.ascx.cs" Inherits="admin_Controls_TopControl" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v9.2, Version=9.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<div class="top" id="class_cnt1">
    <div class="toptitle1">
        <img src="../images/logo.png" style="padding-top: 10px;" alt="公司LOGO" />
    </div>
    <div class="toptitle2">
    </div>
    <div class="toptitle3">
        <table>
            <tr style="text-align: left; vertical-align: bottom; height: 30px;">
                <td>
                    <span style="font-size: 13px; vertical-align: middle;">选择主题：</span>
                </td>
                <td>
                    <dxe:ASPxComboBox AutoPostBack="true" DataSourceID="xdsThemes" Width="150px" Height="20px"
                        ID="cbSkins" runat="server" EnableViewState="False" ClientInstanceName="cbSkins"
                        OnDataBound="cbSkins_DataBound" OnSelectedIndexChanged="cbSkins_SelectedIndexChanged">
                    </dxe:ASPxComboBox>
                    <asp:XmlDataSource DataFile="~/App_Data/Themes.xml" XPath="//Theme" ID="xdsThemes"
                        runat="server" />
                </td>
                <td>
                    <dxe:ASPxButton ID="btnDefault" Height="18px" runat="server" Text="网站首页" OnClick="btnDefault_Click">
                    </dxe:ASPxButton>
                </td>
                <td>
                <dxe:ASPxButton ID="btnSignOut" Height="18px" AutoPostBack="false" runat="server" Text="安全退出">
                 <ClientSideEvents Click=" function fun() {
                                          document.location.href='../login.aspx?signOut=true';
                           }    " />
                    </dxe:ASPxButton>
                </td>
            </tr>
            <tr>
                <td colspan="4" style="text-align: right; vertical-align: bottom; height: 30px; font-size: 13px;">
                    <span>您好，<asp:Label ID="lblUserName" runat="server"></asp:Label>！</span> <span class="toptitle3-2-1">
                        <%--<a href="../UserManage/ModifyPassword.aspx?userName=<%=UserName %>" target="_parent">
                        修改密码</a>--%>
                    </span>&nbsp;&nbsp; &nbsp;今天是：<script type="text/javascript" src="../js/time.js"></script>

                </td>
            </tr>
        </table>
    </div>
</div>
